<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>
<body>
    <div id="two-way-binding">
        <p>{{message}}</p>
        <input type="text" v-model='message' />
    </div>

    <script>
        const TwoWayBinding = {
            data() {
                return {
                    message:"hello vue!"
                }
            },
        }
        const app = Vue.createApp(TwoWayBinding)
        app.mount('#two-way-binding')
    </script>
</body>
</html